package com.example.serviceB.api;

import com.example.serviceB.req.TransferInReq;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "serviceB", path = "/account")
public interface ServiceBAccountApi {

    @PostMapping("/transfer-in")
    void transferIn(@RequestBody TransferInReq req);

}
